<!DOCTYPE html>
<html>
<head>
    <title>会话流量</title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div id="queryDiv" class="queryDiv">
            <div class="grid-btn">

                <div class="form-group col-sm-2">
                    <input type="text" class="form-control" id="clientNo" @keyup.enter="query" placeholder="终端号码">
                </div>
                <div class="form-group col-sm-2" >
                    <input type="text" class="form-control   form_datetime" id="startTime" placeholder="开始时间">
                </div>

                <div class="form-group col-sm-2">
                    <input type="text" class="form-control   form_datetime" id="endTime" placeholder="结束时间">
                </div>

                <div class="form-group col-sm-2" >
                    <input type="text" class="form-control" id="company" @keyup.enter="query" placeholder="公司ID">
                </div>


                <a class="btn btn-primary" @click="query">查询</a>

                <!--     #if($shiro.hasPermission("zwan/sessionflow:save"))
                     <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
                     #end
                     #if($shiro.hasPermission("zwan/sessionflow:update"))
                     <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
                     #end
                     #if($shiro.hasPermission("zwan/sessionflow:delete"))
                     <a class="btn btn-primary" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</a>
                     #end-->
            </div>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading" style="display: block">{{title}}</div>
        <form class="form-horizontal">
            <div class="form-group">
                <div class="col-sm-2 control-label">会话ID</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="sessionFlow.sessionId"
                           placeholder="会话ID"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">终端账号</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="sessionFlow.clientNo"
                           placeholder="终端账号"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">创建时间</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="sessionFlow.startTime"
                           placeholder="创建时间"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">创建时间</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="sessionFlow.endTime"
                           placeholder="创建时间"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">ip地址</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="sessionFlow.ipAddr"
                           placeholder="ip地址"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">地址</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="sessionFlow.location"
                           placeholder="地址"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">终端类型</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="sessionFlow.clientType"
                           placeholder="终端类型"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">上行流量</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="sessionFlow.upFlowCount"
                           placeholder="上行流量"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">下行流量</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="sessionFlow.downFlowCount"
                           placeholder="下行流量"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${rc.contextPath}/js/zwan/sessionflow/sessionflow.js?_${date.systemTime}"></script>
</body>
</html>